//
//  ByNoticeDetailThreeView.m
//  caipiao_ios
//
//  Created by mc on 2018/8/16.
//  Copyright © 2018年 ZhangZhanbin. All rights reserved.
//

#import "ByNoticeDetailThreeView.h"

@implementation ByNoticeDetailThreeView

- (id)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        CGFloat width = frame.size.width / 3.0;
        CGFloat height = frame.size.height;
        UILabel *leftLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, width, height)];
        [self addSubview:leftLabel];
        leftLabel.textColor = [UIColor blackColor];
        leftLabel.font = FONT(13);
        leftLabel.textAlignment = NSTextAlignmentCenter;
        
        UILabel *centerLabel = [[UILabel alloc] initWithFrame:CGRectMake(width, 0, width, height)];
        [self addSubview:centerLabel];
        centerLabel.textColor = [UIColor blackColor];
        centerLabel.font = FONT(13);
        centerLabel.textAlignment = NSTextAlignmentCenter;
        
        UILabel *rightLabel = [[UILabel alloc] initWithFrame:CGRectMake(width * 2, 0, width, height)];
        [self addSubview:rightLabel];
        rightLabel.textColor = [UIColor blackColor];
        rightLabel.font = FONT(13);
        rightLabel.textAlignment = NSTextAlignmentCenter;
        
        
        self.leftLabel = leftLabel;
        self.centerLabel = centerLabel;
        self.rightLabel = rightLabel;
        
        
        
    }
    return self;
}

@end
